//
//  NSDate+NSDate_Extensions.h
//  Mobil Izleme
//
//  Created by Mehmet Sinan Şahin on 1/2/12.
//  Copyright (c) 2012 netgis. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TTCorePreprocessorMacros.h"
#import "TTGlobalCoreLocale.h"

@interface NSDate (NSDate_Extensions)

/*
 * [[NSDate date] toFormattedString] used like this. DATE_PATTERN is used.
 */
-(NSString *) toFormattedString;
-(NSString *) toFormattedStringAsTime;

+ (NSDate*)dateWithToday;
- (NSDate*)dateAtMidnight;
- (NSString*)formatDate;
- (NSString*)formatShortTime;
- (NSString*)formatDateTime;
- (NSString*)formatRelativeTime;
- (NSString*)formatShortRelativeTime;
- (NSString*)formatMonth;
- (NSString*)formatYear;


@end
